﻿@model Shop.Backstage.Models.AdminInfo
@{
    Layout = null;
}

<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="lib/html5.js"></script>
    <script type="text/javascript" src="lib/respond.min.js"></script>
    <script type="text/javascript" src="lib/PIE_IE678.js"></script>
    <![endif]-->
    <link href="~/Content/Hui/static/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css" />
    <link href="~/Content/Hui/static/h-ui.admin/css/H-ui.login.css" rel="stylesheet" type="text/css" />
    <link href="~/Content/Hui/static/h-ui.admin/css/style.css" rel="stylesheet" type="text/css" />
    <link href="~/Content/Hui/lib/Hui-iconfont/1.0.7/iconfont.css" rel="stylesheet" type="text/css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <style type="text/css">
        #loginform label {
            margin-left: -30px;
        }

        #loginform input[type=text], #loginform input[type=password] {
            width: 288px;
        }

        .Admin-LableTS {
            font-size: 16px;
            color: red;
            margin-left: 5px;
        }

        .col-xs-8 {
            width: 76.888888888888888%;
        }
    </style>

    <title>后台登录</title>
</head>
<body>
    <input type="hidden" id="TenantId" name="TenantId" value="" />
    <div class="header"></div>
    <div class="loginWraper">
        <div id="loginform" class="loginBox">
            <form class="form form-horizontal" action="/Hui/login" method="post">
                <div class="row cl">
                    <label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60d;</i></label>
                    <div class="formControls col-xs-8">
                        @Html.TextBoxFor(Model => Model.AName, htmlAttributes: new { id = "loginname", name = "loginname", type = "text", placeholder = "账户", @class = "input-text size-L" })
                        <span class="Admin-LableTS">@Html.ValidationMessageFor(Model => Model.AName)</span>
                    </div>
                </div>
                <div class="row cl">
                    <label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60e;</i></label>
                    <div class="formControls col-xs-8">
                        @Html.TextBoxFor(Model => Model.APass, htmlAttributes: new { id = "password", name = "password", type = "password", placeholder = "密码", @class = "input-text size-L" })
                        <span class="Admin-LableTS">@Html.ValidationMessageFor(Model => Model.APass)</span>
                    </div>
                </div>          
                <div class="row cl">
                    <div class="formControls col-xs-8 col-xs-offset-3">
                        <input class="input-text size-L" id="IMGTXT" name="IMGTXT"  type="text" placeholder="验证码" onblur="if(this.value==''){this.value='验证码:'}" onclick="if(this.value=='验证码:'){this.value='';}" value="验证码:" style="width:120px;margin-left:-30px">
                        <img src="/Hui/YanZhengMa" id="IMG" name="IMG" width="120" height="36" style="cursor:pointer;" title="点击换一张" onclick="CodeImg('IMG')"> <a onclick="CodeImg('IMG')">看不清，换一张</a>
                    </div>
                </div>
                <div class="row cl">
                    <span class="Admin-LableTS" style="margin-left:188px">@ViewBag.Miss</span>
                </div>
                <div class="row cl">
                    <div class="formControls col-xs-8 col-xs-offset-3">
                        <input name="" type="submit" class="btn btn-success radius size-L" value="&nbsp;登&nbsp;&nbsp;&nbsp;&nbsp;录&nbsp;">
                        <input name="" type="reset" class="btn btn-default radius size-L" value="&nbsp;取&nbsp;&nbsp;&nbsp;&nbsp;消&nbsp;" style="margin-left:20px">
                    </div>
                </div>
            </form>
        </div>
       
    </div>
    <script type="text/javascript" src="~/Content/Hui/lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="~/Content/Hui/static/h-ui/js/H-ui.js"></script>
    <script type="text/javascript">
        function CodeImg(ImgObj) {
            var img = new Date();
           var ImG = document.getElementById(ImgObj);
           ImG.src = "/Hui/YanZhengMa?" + img.getMilliseconds();
        }
    </script>

</body>
</html>